package model

import "gorm.io/gorm"

type Video struct {
	gorm.Model
	Title   string `gorm:"type:varchar(50)"`
	Content string `gorm:"type:varchar(255)"`
	Collect int    `gorm:"type:int"`
	Like    int    `gorm:"type:int"`
}
type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(50)"`
	Password string `gorm:"type:varchar(255)"`
}
